package messClient;


//Test the MessClient class.
import javax.swing.JFrame;

public class MessClientTest 
{
public static void main( String args[] )
{
   MessClient application; // declare client application

   // if no command line args
   if ( args.length == 0 )
      application = new MessClient( "127.0.0.1" ); // connect to localhost
   else
      application = new MessClient( args[ 0 ] ); // use args to connect

   application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
   application.runClient(); // run client application
} // end main
} // end class ClientTest


